# Maintainer: Andreas Radke <andyrtr@archlinux.org>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>

pkgbase=libreoffice-still-i18n

pkgver=7.5.8
pkgrel=1
_rcver=${pkgver}.2
#_oodlver=${pkgver}.0.beta1
_oodlver=${pkgver}

arch=('any')
url="https://www.documentfoundation.org"
license=('LGPL')

#https://download.documentfoundation.org/mirrors/all.html

_url="https://download.documentfoundation.org/libreoffice/stable"
#_url="https://download.documentfoundation.org/libreoffice/testing"
#_url="https://dev-builds.libreoffice.org/pre-releases"


#_url+="/${pkgver}-rc2/rpm/x86_64"
#_url+="/${pkgver}/rpm/x86_64"
_url+="/${pkgver}/rpm/x86_64"
#_url+="/rpm/x86_64"

# https://wiki.documentfoundation.org/Language_Teams
# https://wiki.documentfoundation.org/Language/Support

_languages=(
  'af            "Afrikaans"               0'
  'am            "Amharic"                 1'
  'ar            "Arabic"                  1'
  'as            "Assamese (India)"        0'
  'ast           "Asturianu"               1'
  'be            "Belarusian"              0'
  'bg            "Bulgarian"               1'
  'bn-IN         "Bengali (India)"         1'
  'bn            "Bengali"                 1'
  'bo            "Tibetan"                 1'
  'br            "Breton"                  0'
  'brx           "Bodo"                    0'
  'bs            "Bosnian"                 1'
  'ca-valencia   "Catalan (Valencia)"      1'
  'ca            "Catalan"                 1'
  'ckb           "Central Kurdish / Soranî‎ / سۆرانی " 0'
  'cs            "Czech"                   1'
  'cy            "Welsh"                   0'
  'da            "Danish"                  1'
  'de            "German"                  1'
  'dgo           "Dogri"                   0'
  'dsb           "Sorbian: Lower Sorbian / Dolnoserbski" 0'
  'dz            "Dzongkha"                1'
  'el            "Greek"                   1'
  'en-GB         "English (GB)"            1'
  'en-ZA         "English (ZA)"            1'
  'eo            "Esperanto"               1'
  'es            "Spanish"                 1'
  'et            "Estonian"                1'
  'eu            "Basque"                  1'
  'fa            "Persian"                 0'
  'fi            "Finnish"                 1'
  'fr            "French"                  1'
  'fur           "Friulian / Friulan"      0'
  'fy            "Frisian / West Frisian / Frysk / Fries" 0'
  'ga            "Irish"                   0'
  'gd            "Gaelic (Scottish)"       0'
  'gl            "Galician"                1'
  'gu            "Gujarati"                1'
  'gug           "Guarani"                 0'
  'he            "Hebrew"                  1'
  'hi            "Hindi"                   1'
  'hr            "Croatian"                1'
  'hsb           "Sorbian: Upper Sorbian / Hornjoserbšćina" 0'
  'hu            "Hungarian"               1'
  'id            "Indonesian"              1'
  'is            "Icelandic"               1'
  'it            "Italian"                 1'
  'ja            "Japanese"                1'
  'ka            "Georgian"                1'
  'kab           "Kabyle / Kabylian / Taqbaylit / Taqbaylit / Tazwawt" 0'
  'kk            "Kazakh"                  0'
  'km            "Khmer (Cambodia)"        1'
  'kmr-Latn      "Kurdish"                 0'
  'kn            "Kannada"                 0'
  'ko            "Korean"                  1'
  'kok           "Konkani"                 0'
  'ks            "Kashmiri"                0'
  'lb            "Luxembourgish"           0'
  'lo            "Lao"                     1'
  'lt            "Lithuanian"              1'
  'lv            "Latvian"                 1'
  'mai           "Maithili"                0'
  'mk            "Macedonian"              1'
  'ml            "Malayalam"               0'
  'mn            "Mongolian"               0'
  'mni           "Manipuri"                0'
  'mr            "Marathi"                 0'
  'my            "Burmese"                 0'
  'nb            "Norwegian Bokmal"        1'
  'ne            "Nepali"                  1'
  'nl            "Dutch"                   1'
  'nn            "Norwegian Nynorsk"       1'
  'nr            "Ndebele (South)"         0'
  'nso           "Northern Sotho"          0'
  'oc            "Occitan"                 0'
  'om            "Oromo"                   1'
  'or            "Oriya"                   0'
  'pa-IN         "Punjabi (India)"         0'
  'pl            "Polish"                  1'
  'pt-BR         "Portuguese (Brasil)"     1'
  'pt            "Portuguese"              1'
  'ro            "Romanian"                1'
  'ru            "Russian"                 1'
  'rw            "Kinyarwanda"             0'
  'sa-IN         "Sanskrit (India)"        0'
  'sat           "Santali"                 0'
  'sd            "Sindhi"                  0'
  'si            "Singhalese"              1'
  'sid           "Sidama"                  1'
  'sk            "Slovak"                  1'
  'sl            "Slovenian"               1'
  'sq            "Albanien"                1'
  'sr-Latn       "Serbian (Latin)"         0'
  'sr            "Serbian"                 0'
  'ss            "Swati"                   0'
  'st            "Southern Sotho"          0'
  'sv            "Swedish"                 1'
  'sw-TZ         "Swahili (Tanzania)"      0'
  'szl           "Silesian"                0'
  'ta            "Tamil"                   1'
  'te            "Telugu"                  0'
  'tg            "Tajik"                   1'
  'th            "Thai"                    0'
  'tn            "Tswana"                  0'
  'tr            "Turkish"                 1'
  'ts            "Tsonga"                  0'
  'tt            "Tatar"                   0'
  'ug            "Uighur"                  1'
  'uk            "Ukrainian"               1'
  'uz            "Uzbek"                   0'
  've            "Venda"                   0'
  'vec           "Venetian"                0'
  'vi            "Vietnamese"              1'
  'xh            "Xhosa"                   0'
  'zh-CN         "Chinese (simplified)"    1'
  'zh-TW         "Chinese (traditional)"   1'
  'zu            "Zulu"                    0'
)
validpgpkeys=('C2839ECAD9408FBE9531C3E9F434A1EFAFEEAEA3') # "LibreOffice Build Team (CODE SIGNING KEY) <build@documentfoundation.org>"
sha256sums=('37f020585ea9ae106e10a6cf19d4f0b9ea333a031eeeedcdf6792743c1c8c226'
            'SKIP'
            '53ad23ac98851e3a6b5e78eacadd51fdbaaed784558b9aaa7e7b5ee7177335d1'
            'SKIP'
            'a9d4e9511fb79129940ff73fd61748c0f2c1de0dc1deeba12ab3a924723aa1e5'
            'SKIP'
            '61b7885da24e9414904fa4f6efb87995e4db669495aefd4f46889778c4dbbb56'
            'SKIP'
            'd9a3b19c18952616081136e00731a6387ea7552fa2c29ec50fd550fd6d649324'
            'SKIP'
            '7916923694b540474bbef138aa841a75d7a445e2f53db7834a9e480fdf5bb5e2'
            'SKIP'
            'e747d74fdbbfcb0483aa1995411014c463277bf67fbf8c03698547d24e3697f2'
            'SKIP'
            'b12c7abe8a3bd1f297354a3a175fff0376ec38d11bbc9a32c9b044e156a0b74d'
            'SKIP'
            'd86fa213fe0b86accdb3b77ac6bad05c8f53239dcf5339d50cadccbe30561a55'
            'SKIP'
            '5817bcc628ef442d0a98e0035ac4aaa7cce1c5e91698b95ca4f11f54b749db39'
            'SKIP'
            'd44678b663fc140fcb18d08a2414aa54c26c3b5f9a3ceb3ca25e8540fd687eb0'
            'SKIP'
            '3261183d3b1872f66642f7d552bf49522ea0af1c581b611274af2020d1f4f431'
            'SKIP'
            '2c01b88ad01ac8da2ef1f0bdb44ec5c40cc07aa8d7e4e1363fe314be52c5a05b'
            'SKIP'
            '4cef28dd33692f4bece2e6aeebd6caf7f05653224666a5d08d73ea9de9b02bed'
            'SKIP'
            '2cb85e38e153f945b2ec29e96e64ab170ebae813bcd94d2e3ca42839427f96d7'
            'SKIP'
            'ab1d984da4f1dbddff9fdbf8b78f943c61076c6de7e660fd5aaf7313e4e91e25'
            'SKIP'
            '46f913f3e3320b273ef64f3693e1636e4319e0db2fd1e2ad79d0d42422618eb3'
            'SKIP'
            'f05df6a36b02472e781342d1f05fe8839e4037e289a341dba9f3c5d48cae9d22'
            'SKIP'
            'eabd3da64a10a9b99a0fdd93a95ed1c059d3a1d53a07d49e3ac047337c96658e'
            'SKIP'
            '6208e6ea365a3db7f8fcf0313d79e142998dac10ba4e3ca3bdcea88f24401c91'
            'SKIP'
            '66788f53dbed65757c12d653a2c018c72b0ba0fc1c6e84ae784edb6b9d973712'
            'SKIP'
            'afde13615a422d8ad7f917384231a8ffe0e2abac0d1c8e70b40afec31fef24c6'
            'SKIP'
            'dfadefe12d13f19e1d058d5bbe812fc6ac7b35b9d1253fb198688fd87e3d6beb'
            'SKIP'
            '68423400ed56d97a21bec66199f4c6a24a5b279c82cc9e8d93f8777444bdadda'
            'SKIP'
            '142465a090278e3a1717da6d1ce4958d6908442fa5787548ed9217da9cc70375'
            'SKIP'
            '66b41dd8a60205e8002a3bf21238aa57d5d0a1d1cbcd15be3223a1fb272ff381'
            'SKIP'
            '66ec448855afda9851b5e9b280cd8d910ce9d8e44b2751f707b3d5db979537ad'
            'SKIP'
            '3fcff3417cd627090980557e6f131f86b0d7c674367d996812090b5639e27117'
            'SKIP'
            '9fccb3fddff0df8b63f231837478ab60aae4d9b9622c21a6f020e6da43f7b8d6'
            'SKIP'
            '6d94d8cb361d771c3d3d4ce133d72c4be57ec27495bda024a2ee72da78ec0ad0'
            'SKIP'
            '82294b61f9dfcf003e7ab6e75e33fb2f175c0ca874185507d61bb245196ccd98'
            'SKIP'
            '8942384dc0e3b905f8339655e2e3fddb0a077f8b696e0eff86e8528eb983c84a'
            'SKIP'
            'e18787df24ce9aa436b4e4dbb3434f8e8a53a2c4be04e30756f0737e8eb8cceb'
            'SKIP'
            'de98c53fd0c319f226b0160541ec90f47372b9129e53958b91fc12ceada70804'
            'SKIP'
            '0976b159daae60f06d4980d599a29ad96ce4240e8c0bbd6daba95a831e113930'
            'SKIP'
            '554fe8e87ddc7abe9cb83a8596a2791823e6614299a4fc3b69c11126d73fb7f7'
            'SKIP'
            'dfa368b09b9b9cd928d48409e6596597c2969516a5f8d1ce1f970c55e6929753'
            'SKIP'
            '87b8b8561a70385ccab92b28f25f76ee9d1dd765bda84677dd35df89ec00ad7c'
            'SKIP'
            '2318fbc2de56d0297619d4cf04f05a631ef31abfcf472a5b0cc8c7ea3a1f50dd'
            'SKIP'
            '94049ef8dd78d7ecf2b1672ce27e94c628fe3748b65a4ec36a95b4c2cbf7f7da'
            'SKIP'
            '8c93edfb98c54cea21af82b32d61c4b4183df2c2c901945784d76b07dc06d15b'
            'SKIP'
            '30f171b7dca2f6548c79f359db6de87a0b4395ddf4e4b3e8e152d462c2e00807'
            'SKIP'
            '9df906c92653fd9746c2d272a83550c07063dcb4f3366797443420f883ba8fd4'
            'SKIP'
            'f96d98aa96697310fcbb9259245c826ccb7e9dae198d9289251f4788e854b3a1'
            'SKIP'
            '51decfe079990852c5398bb29495dbf087895724686fd9faf2ef37a83f13c576'
            'SKIP'
            '1d48c51a1987bf3e1f352b5f61412fcf3f87c974d82e65d72ac06d3c44926cce'
            'SKIP'
            '3af17d443bd4d655c6d9100de1921245f7442f49324a48dc876be8814e0f6d42'
            'SKIP'
            '82e9e5ec5d493c446480bc54f687a319936146de2115af6499373f2492cab68a'
            'SKIP'
            'ddd5565fa7c4ceb358784fa21f1b712a0f937e49c043726ae9b2b8a37a3696e5'
            'SKIP'
            '0a56aa7fe7116c531bbf354588976f1c5810a544a7619df1bc2bc53fc01d1d59'
            'SKIP'
            '125928adc592abca548fe26a983c691c9307a551d1d32d437b74fa4f8bd20b86'
            'SKIP'
            '84d6b8d4d2ce905ef70c89504475e0d106ec3ba90bcb5825c7196d918c13558a'
            'SKIP'
            '4ccc948971b3fd243d7bb1efa2499f50f9debc7a5c01818185c43490b88b665d'
            'SKIP'
            'd0482fbda913acaf3177fdaa870c67f2413e4f157857a99c14ade1a882bab938'
            'SKIP'
            '3bff99f82ef4ac63eee377cc79b7df868a9380448f7a2b8d4ce89aabf8b954f9'
            'SKIP'
            '03a1bc8343dfe4e40f67beac0339530110804115d6bf1956bb19b3c5720fbf94'
            'SKIP'
            '465d156e87ab9f2c119cc8f54a210e83c99229c4d25cdc861474e7ff8ec11bb1'
            'SKIP'
            'c50afd993b4392988a4e943ba9a1a451327f0a2e20c4b1feb0868466d89295cb'
            'SKIP'
            'ac15283dee46b306d7266e1b00f9d6704c829178efb4ac6526a4c8c87c56dc4e'
            'SKIP'
            '1902290eece2b78217f123cb05f01678a9320d7d3af9990dafed801e9fd2e9a2'
            'SKIP'
            'f7f351782633f352aeef449629b134d430b3968abc7e209db549717fc6a4b102'
            'SKIP'
            '428940cf72e2b87e4980f57da3652ab92fdfda20090ec2806357ed9e2d6696eb'
            'SKIP'
            '22dde421cdfc46d8f372b985b5cc1d3cc1addb2f2e0de77bb4b522a2834d064d'
            'SKIP'
            'd12fc78f889ccb501b2f2289e2dd19315be7209d0530efa19b65c2a8f1fedf5a'
            'SKIP'
            '8ae0ea9da784c569507a5420cca68d63c502bd1b37d16f87d1a01a8211d4ef03'
            'SKIP'
            'deb439223d359741d0bcde637db5abef4cddfaf29dbbf1a6b8e5687fd0dfbbb1'
            'SKIP'
            '435d110866f49557487443fda9c2dbac4a2471a4da0755549441471493d97470'
            'SKIP'
            '846e0a91db3867125b2f53f5fc2f50a36843e6a674032f8723b57844fe2c9e89'
            'SKIP'
            'bcfb81dd4f71f83f466713d18efe02b65b9165db42a1c850d91f68e697d1c58a'
            'SKIP'
            'fa71357d181ce4c866aff40c70ea283d05c43ec76eff8477c15ac77f433c5bb6'
            'SKIP'
            'b0558af46b34c3dc4556ed7b62b0e643c2bbd89ce7f1511b27d80cd31086a858'
            'SKIP'
            '4b87651769c3d86fe054823d458125da97f68f6a1269376ff7bc7af2d7507ba1'
            'SKIP'
            'c600a1141c3d7fe44a649573410ad6246d33d540c3dd9a3b4d2a313df0e80901'
            'SKIP'
            '2ea53a93746498b61313c230d424bf83431f1bb168d4ff41869dc3f423569736'
            'SKIP'
            '32f531bd8008049f28b3db5e09b286247e59ab5b17a9509d894e1e20bb9e5026'
            'SKIP'
            'c8133ebec2ea4c853d933537b7fdfd816ec9021bfa64a624e9966c8cfa43c5fc'
            'SKIP'
            '88dba9b8600cbb7227ef0f7ceaa8439e7b1ae3238e2d735d5474b2ee148ab00e'
            'SKIP'
            '4ab3e77f77439b5524ca826f4b6539a98a0019417c0dbc5dc19ed73d5f7ad478'
            'SKIP'
            '2e24c3a2e5cf62350ca427c8459be717843ce521d6e58ed59735a14c0f93f139'
            'SKIP'
            'a214f41f38a557322b1bb0d9acbfc787ea2a8768d143ac537cbce81728444e50'
            'SKIP'
            'c498daf6bb7a5a74decf50b7b770035c7a088fdedf79969053b95ce545f18add'
            'SKIP'
            '79e22dc8d35303f2536ebbc6249879d8de7b31122f59e7601acf5716e2197939'
            'SKIP'
            'f2544f34faec132ffba7b7d6a9fcc2fae64aa4885f751d9ba348cb06a8624b53'
            'SKIP'
            '1df04387d7ce33bf08c8270574f87421f853940235145d3f33998cf1300ff462'
            'SKIP'
            '5ec035ffe624f4917272d32c4c36d5395b8fd479bbf2562621bc32b48d5c9452'
            'SKIP'
            '8cda13c4c809257e2d7eafe7ad3bca6aace2a3b102a3566542331f24203f880d'
            'SKIP'
            '72e164b24e6754a749e92fcd874bbcb73fc198543356f17d52eac37d0e14738c'
            'SKIP'
            'b9c65b318c65a0f4542353370126cc595b07ead63b7f333ee72a2c67da1ddc89'
            'SKIP'
            '801abf1dc903ee2631261a8cabbcc84f4cf7be5a7619b343b07cc8f13ecb8175'
            'SKIP'
            '6cb16ce6a8945a8ca106956537d55967aad0327c675eb73949e474b4354d3061'
            'SKIP'
            'db10fbc92c44e7e4eef40c02a4704c39b9f602189fe24e4cb06df926138af34c'
            'SKIP'
            'dafe5e16c355d2669e1af3c6a0f4a51fd8debf049987535fc43c6b1e7fc9b57e'
            'SKIP'
            'd26ec08638d880261dbf2d96954186c55cf731abdfe5f995d6c4ddc2885f35e7'
            'SKIP'
            '3638ac2d4d4d71d60669a7a04be057e905d782428d088d9d8274bbe2dcc39245'
            'SKIP'
            '5dd3d7d8eee61ed1687ab14d09f02b30aa8dd1f695f8b3bbd7593d8c3ab0d5dc'
            'SKIP'
            '67d58cd1af3366f9f1fdb6d16aeac8328ecb3c6867cebc45c7b5c3e783bb14a9'
            'SKIP'
            '6817b3784580b4c45951d6f2d94a6214a46fb0279465af58ead68c491d51ef9a'
            'SKIP'
            '9b92cfb204f862f7aff3637f575995e12c3793dca86bfab19952ea379b5ba528'
            'SKIP'
            'c60340cff78dc60c0949b2466e8d6498a3bbd9680766947e9743742c8d0a26f6'
            'SKIP'
            '3bb84be88cb707f5fc94e4d46db3544c0f2aaea907946177ff368cf4777c3fd1'
            'SKIP'
            '4cbf443ca1a64e1bcc586c713b58be9e8206b5ab80bb8a96e8504668b5dfe4f2'
            'SKIP'
            '8913893afe11838ba7516f40c212726ae6d4afe5afdd11aab60ad9d1b9220ea0'
            'SKIP'
            'fc466e61b120e52bae054f526a4cf34f859db5ce811016a56f0d6af80872598f'
            'SKIP'
            '91c3111f2a2bddc3c55b3855d1bcb0bf29b10b10ca66740796df46f44e9e755c'
            'SKIP'
            'f1ff8160b1fe2222e468eb52800e18155295aa036589295d05463c0ee6b11cc0'
            'SKIP'
            '2ddc052427b5af8a0d70e3b93ff11ee377213e77dab3a2297b8ae0604a15ec3f'
            'SKIP'
            'e099ea6df228b783b7c60ba2448eb4a813feeaa6b5562b333678d83f8caf5020'
            'SKIP'
            'fd56ff1ba228ab4a23ff0fd2a2365566eff155a3638879fed9e16dd5eff8b6e2'
            'SKIP'
            '5d8c05970cfce3c882456133a08d171d20ece5d3c1cb78bfb84b4898bfd137b1'
            'SKIP'
            '535456954d38291b0d6e71b714dfe171dada9113b65952f116e9c773f3b10ed5'
            'SKIP'
            '34c5db60e7c3a78e4fff3abedd855e59daa2f4dc8e6bf81ffe4c377fedeb4d72'
            'SKIP'
            'cc39a2c37ac7c718295b589e9c6c95ba00a60f5400758bf32ca4e67f4d81b1fe'
            'SKIP'
            'f0f66cd687a68247580eb372024839b7d8370c0ddf885707a179d6c0a43624cc'
            'SKIP'
            'cda8cec8703c819e57db3d95e38ff37106eea84fb5b4dc301ac546cab02e69de'
            'SKIP'
            'b61e3237c96f7959c2e11dddfe11b5ea751b9c95d46b79f1da3d414f823b5a8f'
            'SKIP'
            '5c0263eb6b626a9d9f648203fcb82bee42e450f67da053fd75258edfcf1e9bbe'
            'SKIP'
            'ae8f6f8cf5c068ee0bffd3788b738df79788c26108c6afc49e4282840edbb8ce'
            'SKIP'
            'bbc92c1e337aca536426f744c2a7c195d069c6681b671e0571287af7ec52bbe3'
            'SKIP'
            'c8e6364e88b3c2cbf2cd8c61bf5c64468cf8e5eab89a5e2bb2b3db5d16b3bcad'
            'SKIP'
            '1dd64069a16d3b24993f7ccdd5dff92c3b3707e71d0fc7092e71aee2263bbe1a'
            'SKIP'
            '407cc1c6ae048b3fb3eba28d345327add5445fa7085dc67fe508c2ef6001dc23'
            'SKIP'
            'eb339bb04f2206884c28aae6f5df4fb1db8fd6512b787de2cb2eb830b0feea36'
            'SKIP'
            '7247ebe7d1737cac3be62134b50064873348a7d783826a13536edad19d49f7a5'
            'SKIP'
            '9c19b77080934365c3a71c2014a26db3defc50ad0c924043dddaf0974d979eed'
            'SKIP'
            '3eac684c4191be78384c90ab50913f09c0335380f134d1911b3dfe63be0549d8'
            'SKIP'
            '9d3f000c38bb52d3c04be8b23336e854c895413aef5a181ae72dd000fb8754f1'
            'SKIP'
            'ab3f311ae93cf0abd998e47d18ff98452b04da6dca6dbdd959a0650cee1e3223'
            'SKIP'
            '57b1655ddb0549bdd22419856e92c8b8c3a3304b73027b449cf79b7a4d4eaaad'
            'SKIP'
            '9ff81e8627d3d709faf45a243f4e10af10c6348a951251d3f0f1408159c2d377'
            'SKIP'
            '05ce4e9347512cf3fa572227bfbc5e035463fcc76420865eb482b1f8992c23b2'
            'SKIP'
            '1a262c783d36e5640e522fd5443d1f8e9afa114b159f85185505174feee2078e'
            'SKIP'
            '531a56e2b6d1c9ecb1a2daaefe2ae3de8bb37fb8d8fd5dcbc887718e781e9f25'
            'SKIP'
            'e5585deba8db7c6ef9321d5ec3b558c0d3fc0dfc39d3f367e75e010eb9dd90f0'
            'SKIP'
            'a2989dd77f3772b9b4a2dfa02996032f321a4881b38bcdd495e53d650139402f'
            'SKIP'
            '8e1da3fa5d6e9e90df6fa90a0e98dcd69091aa80de48364fb57f2dc2356216ac'
            'SKIP'
            '463002350af54cfd42a95bb9328191f87e66301c25a45872c0530c220617a318'
            'SKIP'
            'a0fa2955795dfef56c65abe5b85411fa3d0a634ed1736ed03c4f41cecd4b6db4'
            'SKIP'
            '5b9922642a32df1cde53bf505544470075a7408b911393090d62695461fed331'
            'SKIP'
            'f5471fee2d68d596cb85aa7758a181db998e48e1048828f38bef6a7f0019227a'
            'SKIP'
            '52c985ed27e514b7be7db4034fe8edea4211e48bbb331d010fd6398bd9258fe5'
            'SKIP'
            '89ab3a44b1f5871f4ef23240fcb869c900f0249a41fcdf4e335aa4733df28ec7'
            'SKIP'
            'e16fbf749719cdae063f5d731ccded6a47760f0131e383440e24478e919abe5c'
            'SKIP'
            'a527671ff874bdd6278df184a049d44b5db941950d8d941af1c39c5b43b18e4d'
            'SKIP'
            '7dc899daec45d37f3bf7b1f5141148497e22e6c4543b912163d251e8d219e53a'
            'SKIP'
            '91b31c6cf5b19ea8bff3d1c62e462ffce8b24fd44815ae4f65be84d6d06bdd03'
            'SKIP'
            'd1c75906c1ee456321d87f6faacf6d4b56d4b02db0e7b0eabe7f7a2465630c95'
            'SKIP'
            'd1f4625e5ad89454922bad950a5147244bb8fc41b2538bb5cd55de58802337eb'
            'SKIP'
            'da9309290168788fac6b35cbf3ed9b867c71d990149b5756e1e3c69c0387bd7b'
            'SKIP'
            '08a78a93a0a3c94550141b6d23b1bd7f65307eb04e2715ea402d8130d96980d5'
            'SKIP'
            'c3341d79221798e332a9ff72c63794f99a8fdbe829d36642c38facfdf5655347'
            'SKIP'
            '0b3b6d6c2a1e9f5c48697df761f2e6d9bba157816986c6a9e689d9d710fe7cb0'
            'SKIP'
            '267e1bb5a839d4414690a0b294eeabdaac8aeb77e9c786eecceff5bf5f33829f'
            'SKIP'
            '8df96a691c0c8564b65f19fe79a37a7121bacdec9349be93473ad4a677fc1467'
            'SKIP'
            'c1ee79d1640c22358b4a6875a98c8ed0b617a2fc8284f85b059c8ea08eb1e5b3'
            'SKIP'
            'cc830d2f131fe33a95a738a3137770760e3dca0eddef3cbc8b90ca09e06c47bb'
            'SKIP'
            '5cee94cb8eefd16c04d43f39093f24e185a47d930e04fea535c99af4e87d63fd'
            'SKIP'
            '25028a204bd650d634615333afda428d7179172d97372de121586f296132835c'
            'SKIP'
            '802bd3e5a863a1ab0979016f1d0fd1abbdedacf8a1b51d9613b499d04f58d422'
            'SKIP'
            'a3888df7b619da58824b2540ad6eac04f7c0c9174c20d01183c5c96bb66d50b8'
            'SKIP'
            '02e514c103fcf65d80081d746e3a512a7bd46b0da70597d540f57448e2e1df38'
            'SKIP'
            '5d3e2612661e2e6bb9ae6dc77b4a86c5b1f0dcbb638133844a553a523f8da129'
            'SKIP'
            '10b57ba79fe2923da8712bb0b1e0d8b015aac63d1aa82f08ec61c94cc33e2997'
            'SKIP'
            '32dc2b76acbcde16dd4a8a8def18b8cc879a86ead125031e278bd42900d9777c'
            'SKIP'
            'fc507ba9bdfac3ab34eed5fa24bfda0cf16498a48e5bf81cf62b8284e8498cbb'
            'SKIP'
            '8a3ef86637a911ed4f465a03ef76f2206d91da243bee7da91b6374f70590a448'
            'SKIP'
            'e781bac159027c9228cdf2863e39f5bb54a8fa23b2d04233567c9ac6addc87a8'
            'SKIP'
            '82ff7ae543f28a49a584bf7df0ed13f82f0e8c4017df34dd032c8a5b506a1253'
            'SKIP'
            '8abcfa2a6e9fe4ddb9a896034b98d5ea9ead030b1c722d153e4be8963897fee6'
            'SKIP'
            'ff242be1381fe209acab58ccb617de4580ccf659aa8c6a3c3385f4c37ccb8f56'
            'SKIP'
            '54d4a9a01a2d23513fef7bb4ee6d45b25dc58d350e355f4b79a0bdb4965a8a15'
            'SKIP'
            'f70131b05ede894de9f595fd1ccc2b429012200b5099e065feb986eed4356a9f'
            'SKIP'
            '64cb6386d290e14a632e18a6cc1db4b7234b3be1e0ced0006102fdc0faf3cac7'
            'SKIP'
            '3c485691f8f7381041e05e52006073554ab12d62bdb9475b787b818402f725e6'
            'SKIP'
            '299ef087cbf72bfd12373854d79cef2cbbad4cfcc822b7bd2ba59ea39feabf36'
            'SKIP'
            '97713f28488760e928101dbab27fe9513b2eaeb95b48214de510b7e5d375621c'
            'SKIP'
            'd8ad9434968e737a7e0e078e8c635ab9abe56e5e7ed813f4a3ca56ec1cb3613b'
            'SKIP'
            'a0541aab14edece56d45d9621f706156d88f991883f59acc70b38d0597f4864e'
            'SKIP'
            'f047d1108fcd34a8dd38b05a3db3f3c953a921cb56660fb3588683309f3ae1cb'
            'SKIP'
            '64a03a02231b9f41b9989888dc5bb9529efde776755bec60f53dd7d183080975'
            'SKIP'
            'ad1166cdea22ed068292a633609350fc806b97d99ffec56300c5a9c23a961794'
            'SKIP'
            '3e8bec9764fb7990e95c79329329fecfd4efff1f288878369e092392ea92553e'
            'SKIP'
            'ef4b382f6eb7566a360e39254db6c14f503bff60b81b59230f953deabfe44f4e'
            'SKIP')

prepare() {
  for _lang in "${_languages[@]}"; do
    declare -a "_langa=($_lang)"
    _locale="${_langa[0]}"
    _helppack="${_langa[2]}"

    echo ${_locale} " unpacking..."
    cd "${srcdir}"/LibreOffice_${_rcver}_Linux_x86-64_rpm_langpack_${_locale}/RPMS

    # remove dictionaries if shipped - we ship them now in separate packages
    rm -vf *-dict-*.rpm || /bin/true

    for j in *.rpm
      do bsdtar -x -f $j
    done

    # the helppack rpm goes also into the langpack dir
    if (( $_helppack )); then
      bsdtar -x -f "${srcdir}"/LibreOffice_${_rcver}_Linux_x86-64_rpm_helppack_${_locale}/RPMS/*.rpm
    fi
  done
}

_package() {
  pkgdesc="$2 language pack for LibreOffice still"
  depends=('libreoffice-still')
  provides=("libreoffice-$1")
  conflicts=("libreoffice-$1")
  if [[ $1 != ${1,,} ]]; then
    replaces=(libreoffice-still-$1)
  fi

  cd "$srcdir"/LibreOffice_${_rcver}_Linux_x86-64_rpm_langpack_$1/RPMS
  mkdir -p "$pkgdir"/usr/lib/libreoffice
  cp -R opt/libreoffice*/* "$pkgdir"/usr/lib/libreoffice
  chown root:root -R "$pkgdir"/usr/lib/libreoffice
}

for _lang in "${_languages[@]}"; do
  declare -a "_langa=($_lang)"
  _locale="${_langa[0]}"
  _helppack="${_langa[2]}"
  _pkgname=libreoffice-still-${_locale,,}

  pkgname+=($_pkgname)
  source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86-64_rpm_langpack_${_locale}.tar.gz{,.asc})

  if (( $_helppack )); then
    source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86-64_rpm_helppack_${_locale}.tar.gz{,.asc})
  fi

  eval "package_${_pkgname}() {
    _package $_lang
  }"
done
